import { createApp } from 'vue'
import './style.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIcons from '@element-plus/icons-vue'
import App from './App.vue'
import { createPinia } from 'pinia'
import { router } from './router'
import { createVuetify } from 'vuetify'
import 'vuetify/dist/vuetify.min.css'
const app = createApp(App)
// const vuetify = createVuetify();
// app.use(vuetify)

// Element Plus
app.use(ElementPlus)
// Element Plus icons
for (const [key, component] of Object.entries(ElementPlusIcons)) {
    app.component(key, component)
}

// Pinia 状态管理
app.use(createPinia())
// 路由
app.use(router)

app.mount('#app')
